package com.easybuy.service;

import com.easybuy.bean.EasybuyProduct;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IProductService {
    List<EasybuyProduct> listByPage(int page,int pageSize);
    int deleteByPk(int id);
    int updateByPk(EasybuyProduct ebProduct);
    EasybuyProduct selectByCondition(Integer id);
    public int countAll();
    int save(EasybuyProduct ebProduct);
    EasybuyProduct findByName(String name);


    EasybuyProduct detail(Integer epId);

    EasybuyProduct findByPk(Integer id);
    EasybuyProduct findByfid(Integer id);
    EasybuyProduct findBysid(Integer id);

}
